package com.process.controller;

import com.util.WriteToHtml;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;

/**
 * Created by wanglei on 15-3-15.
 */
@Controller
public class PuckController {
    private Logger logger=Logger.getLogger(PuckController.class);

    @RequestMapping(value = "puck.do")
    public void getAllPuck(HttpServletResponse response){
        logger.info("puck");
        WriteToHtml.writeToHtml(response,"hello world");
    }
}
